<?php
/**
 * Necros View for Congregation Component
 * 
 * @package    Joomla.Tutorials
 * @subpackage Components
 * @link http://docs.joomla.org/Developing_a_Model-View-Controller_Component_-_Part_4
 * @license		GNU/GPL
 */

// No direct access
defined( '_JEXEC' ) or die( 'Restricted access' );

jimport( 'joomla.application.component.view' );

/**
 * Necros View
 *
 * @package    Joomla.Tutorials
 * @subpackage Components
 */
class CongregationViewNecros extends CongregationView
{
	/**
	 * Sharings view display method
	 * @return void
	 **/

	
	function display($tpl = null)
	{
		$task = JRequest::getVar('task');
		
		switch($task)
		{
			case 'weremember':
				$rows = $this->get( 'weremember' );
				echo json_encode($rows);
						
			break;
		}
	}
}
